using NodeCanvas.Framework;
using ParadoxNotion.Design;

namespace Yoozoo.Gameplay.Liberty.AI.Node
{
    [Category("Ggame/Liberty")]
    public class UnActiveAllBoneItem : AIBaseNode
    {
        protected override void OnExecute()
        {
            BoneItemController boneItemController = _entity.viewer.boneItemController;
            if (boneItemController)
            {
                boneItemController.UnActiveAll();
                EndAction(true);
            }
        }
    }
}